import elSelectLoadmore from './elSelectLoadmore'

const install = function(Vue) {
  Vue.directive('el-select-loadmore', elSelectLoadmore)
}

if (window.Vue) {
  window['el-select-loadmore'] = elSelectLoadmore
  Vue.use(install); // eslint-disable-line
}

elSelectLoadmore.install = install
export default elSelectLoadmore
